package com.wn.icloud.common.utils;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author: zhq
 * @datetime: 2019/12/19 17:34
 * @description: 自定义分页查询返回工具类
 */
public class MapTool {
    private static Map<String, Object> map = new HashMap<>();
    public static Object paging(List<?> list, long count) {
        map.put("count", count);
        map.put("code", 0);
        map.put("msg", "返回信息成功");
        map.put("data", list);
        return map;
    }
}
